/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package model;

import javax.microedition.lcdui.game.LayerManager;
import javax.microedition.lcdui.game.Sprite;

/**
 *
 * @author Douglas
 */
public class PointBall {
    private Sprite spritePoint;
    private LayerManager lm;

    public PointBall(Sprite spritePoint, LayerManager lm, int x, int y){
        this.spritePoint = spritePoint;
        this.lm = lm;

        this.spritePoint.setPosition(x, y);
        this.spritePoint.setVisible(true);
        this.lm.append(spritePoint);
    }

}
